package com.suxin.splitter.spring;

import lombok.Getter;

import java.lang.reflect.Method;

/**
 * @author Tang
 * @classname AbstractSplitInvoker
 * @description [  ]
 * @date 2022/11/9 17:21
 */
@Getter
public abstract class AbstractSplitInvoker implements SplitInvoker {

    private final SplitService splitService;
    private final Method method;
    private final int sizePrePartition;

    public AbstractSplitInvoker(SplitService splitService, Method method, int sizePrePartition) {
        this.splitService = splitService;
        this.method = method;
        this.sizePrePartition = sizePrePartition;
    }
}
